<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">

		<title>我的收藏</title>

		<link href="/Public/person/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css">
		<link href="/Public/person/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css">

		<link href="/Public/person/css/personal.css" rel="stylesheet" type="text/css">
		<link href="/Public/person/css/colstyle.css" rel="stylesheet" type="text/css">

		<!-- Theme CSS
		============================================ -->
   		<link href="/Public/mobilemall/css/themecss/so_megamenu.css" rel="stylesheet">
		<link id="color_scheme" href="/Public/mobilemall/css/theme.css" rel="stylesheet">

		 <!-- Libs CSS
		============================================ -->
	   	<link rel="stylesheet" href="/Public/mobilemall/css/bootstrap/css/bootstrap.min.css">
		<link href="/Public/mobilemall/css/font-awesome/css/font-awesome.min.css" rel="stylesheet">
		<link href="/Public/mobilemall/js/datetimepicker/bootstrap-datetimepicker.min.css" rel="stylesheet">
	   	<link href="/Public/mobilemall/js/owl-carousel/owl.carousel.css" rel="stylesheet">
		<link href="/Public/mobilemall/css/themecss/lib.css" rel="stylesheet">
		<link href="/Public/mobilemall/js/jquery-ui/jquery-ui.min.css" rel="stylesheet">

	</head>

	<body style="background: #F5F8FA">
		<!--头 -->
		<include file="./Application/Home/View/Share/header1.html"/>
          
			<b class="line"></b>
		<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-collection">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">我的收藏</strong> / <small>My&nbsp;Collection</small></div>
						</div>
						<hr/>

						<div class="you-like">
							<div class="s-bar">
								我的收藏
								<a class="am-badge am-badge-danger am-round">降价</a>
								<a class="am-badge am-badge-danger am-round">下架</a>
							</div>
							<div class="s-content">
								
							<volist name="colgoodslist" id="vo">
								<div class="s-item-wrap">
									<div class="s-item">

										<div class="s-pic">
											<a href="#" class="s-pic-link">
												<img src="{$vo.goodsimg.0}" alt="{$vo.goodsname}" title="{$vo.goodsname}" class="s-pic-img s-guess-item-img">
											</a>
										</div>
										<div class="s-info">
											<div class="s-title"><a href="/Home/Goods/showgoods?goodsid={$vo.goodsid}" title="{$vo.goodsname}">{$vo.goodsname}</a></div>
											<div class="s-price-box">
												<span class="s-price"><em class="s-price-sign">¥</em><em class="s-value">{$vo.goodsnow}</em></span>
												<span class="s-history-price"><em class="s-price-sign">¥</em><em class="s-value">{$vo.goodsorig}</em></span>
											</div>
											
										</div>
										<div class="s-tp" style="margin-bottom:-30px">
											<span class="ui-btn-loading-before" onclick="delcol('{$vo.goodsid}')">取消收藏</span>
											<i class="am-icon-shopping-cart"></i>
											<span class="ui-btn-loading-before buy" onclick="cart.add('{$vo.goodsid}' ,'{$vo.goodsname}','1' ,'{$vo.goodsimg.0}','{$vo.goodsnow}');">加入购物车</span>
											
										</div>
									</div>
								</div>
							</volist>
								

								

							</div>

							<div class="s-more-btn i-load-more-item" data-screen="0"><i class="am-icon-refresh am-icon-fw"></i>更多</div>

						</div>

					</div>

				</div>
				<!--底部-->
				<!-- <div class="footer">
					<div class="footer-hd">
						<p>
							<a href="#">恒望科技</a>
							<b>|</b>
							<a href="#">商城首页</a>
							<b>|</b>
							<a href="#">支付宝</a>
							<b>|</b>
							<a href="#">物流</a>
						</p>
					</div>
					<div class="footer-bd">
						<p>
							<a href="#">关于恒望</a>
							<a href="#">合作伙伴</a>
							<a href="#">联系我们</a>
							<a href="#">网站地图</a>
							<em>© 2015-2025 Hengwang.com 版权所有</em>
						</p>
					</div>
				</div> -->
			</div>

			<aside class="menu">
				<ul>
					<li class="person ">
						<a href="/Home/Person/index"><i class="am-icon-user"></i>个人中心</a>
					</li>
					<li class="person">
						<a href="#"><i class="am-icon-newspaper-o"></i>个人资料</a>
						<ul>
							<li> <a href="/Home/Person/information">个人信息</a></li>
							<li> <a href="/Home/Person/safety">安全设置</a></li>
							<li> <a href="/Home/Person/address">收货地址</a></li>
						</ul>
					</li>
					<li class="person">
						<a href="#"><i class="am-icon-balance-scale"></i>我的交易</a>
						<ul>
							<li><a href="/Home/Person/order">订单管理</a></li>
						</ul>
					</li>
					
					<li class="person">
						<a href="#"><i class="am-icon-tags"></i>我的小窝</a>
						<ul>
							<li class="active"> <a href="/Home/Person/collection">收藏</a></li>
							<li> <a href="/Home/Person/foot">足迹</a></li>
							<li> <a href="/Home/Person/comment">评价</a></li>
							<!-- <li> <a href="news.html">消息</a></li> -->
						</ul>
					</li>

				</ul>

			</aside>
		</div>
		<!--底部-->
		<include file="./Application/Home/View/Share/footer.html"/>
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="/Public/mobilemall/js/jquery-2.2.4.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/owl-carousel/owl.carousel.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/themejs/libs.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/unveil/jquery.unveil.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/countdown/jquery.countdown.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/dcjqaccordion/jquery.dcjqaccordion.2.8.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/datetimepicker/moment.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/jquery-ui/jquery-ui.min.js"></script>

<!-- Theme files
============================================ -->
<script type="text/javascript" src="/Public/mobilemall/js/themejs/application.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/themejs/addtocart.js"></script>
<script >
	function delcol(goodsid){
		if (confirm("确定要从收藏列表中删除此商品吗？")) {
			$.post("/API/Shopcart/delcol",{"goodsid":goodsid},function(res){
				alert(res.data);
				window.location.href='{:U('/Home/Person/collection')}';
			});
		}	
	}
</script>
	</body>

</html>